package o2o.service.code;

import o2o.dao.PO.code.TableCodeSequenceInfo;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: @Created by yangtk
 * @Date: @Date 2020/12/1 10:51
 * @Email: yangtongkuan@qq.com
 * @To change this template use File | Settings | File Templates.
 * @desc 表key 序列设置
 */
public interface TableCodeSequenceService {

    TableCodeSequenceInfo getOrCreateTableCodeSequenceByTypeAndKey(String type, String key);

    boolean updateTableSequenceByKey(String type, String code, Integer version, Integer sequence);

}
